<include target="_header.html" />

<div cond="$XE_VALIDATOR_MESSAGE" class="message {$XE_VALIDATOR_MESSAGE_TYPE}">
	<p>{$XE_VALIDATOR_MESSAGE}</p>
</div>

<div class="table even">
<table cellspacing="0" class="colTable">
<caption>
	Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}
	<span class="side">
		<span class="btn"><a href="{getUrl('act','dispRecruitAdminCreate','module_srl','')}">{$lang->cmd_create_recruit}...</a></span>
	</span>
</caption>
<thead>
    <tr>
        <th scope="col" class="nowr">{$lang->no}</th>
		<th scope="col" class="nowr">{$lang->module_category}</th>
		<th scope="col" class="nowr">{$lang->mid}</th>
        <th scope="col" class="title">{$lang->browser_title}</th>
        <th scope="col" class="nowr">{$lang->regdate}</th>
        <th scope="col" class="nowr">{$lang->cmd_setup}</th>
		<th scope="col" class="nowr">{$lang->cmd_copy}</th>
        <th scope="col" class="nowr">{$lang->cmd_delete}</th>
    </tr>
</thead>
<tfoot>
		<tr>
			<th scope="col" class="nowr">{$lang->no}</th>
			<th scope="col" class="nowr">{$lang->module_category}</th>
			<th scope="col" class="nowr">{$lang->mid}</th>
			<th scope="col" class="title">{$lang->browser_title}</th>
			<th scope="col" class="nowr">{$lang->regdate}</th>
			<th scope="col" class="nowr">{$lang->cmd_setup}</th>
			<th scope="col" class="nowr">{$lang->cmd_copy}</th>
			<th scope="col" class="nowr">{$lang->cmd_delete}</th>
		</tr>
</tfoot>
<tbody>
    <!--@foreach($recruitsList as $no => $val)-->
    <tr class="row{$cycle_idx}">
        <td>{$no}</td>
		<td class="nowr">
			<block cond="!$val->module_category_srl">
				<block cond="$val->site_srl">{$lang->virtual_site}</block>
				<block cond="!$val->site_srl">{$lang->not_exists}</block>
			</block>
			<block cond="$val->module_category_srl">{$module_category[$val->module_category_srl]->title}</block>
		</td>
		<td class="nowr">{$val->mid}</td>
        <td><a href="{getSiteUrl($val->domain,'','mid',$val->mid)}">{htmlspecialchars($val->browser_title)}</a></td>
        <td>{zdate($val->regdate, "Y-m-d", false)}</td>
        <td><a href="{getUrl('act','dispRecruitAdminCreate','module_srl',$val->module_srl)}" class="buttonSet buttonSetting"><span>{$lang->cmd_setup}</span></a></td>
		<td class="nowr"><a href="{getUrl('','module','module','act','dispModuleAdminCopyModule','module_srl',$val->module_srl)}" onclick="popopen(this.href);return false;" title="{$lang->cmd_copy}">{$lang->cmd_copy}</a></td>
        <td><a href="{getUrl('act','dispRecruitAdminDelete','module_srl',$val->module_srl)}" class="buttonSet buttonDelete"><span>{$lang->cmd_delete}</span></a></td>
    </tr>
    <!--@end-->
</tbody>
</table>
</div>

<div class="btnArea">
	<span class="btn"><a href="{getUrl('act','dispRecruitAdminCreate','module_srl','')}">{$lang->cmd_create_recruit}...</a></span>
</div>

<!--@if($page_navigation)-->
<div class="pagination a1">
    <a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a>
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong>
        <!--@else-->
            <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a>
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
</div>
<!--@end-->

<include target="_foot.html" />